package com.guigu.www.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.www.mapper.UsersMapper;
import com.guigu.www.pojo.Users;
import com.guigu.www.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UsersServiceImpl extends ServiceImpl<UsersMapper, Users> implements UsersService {
    //创建mapper
    @Autowired
    UsersMapper usersMapper;
    @Override
    public Users queryimg(String username) {
        return usersMapper.queryimg(username);
    }

    @Override
    public List<Users> queryLsByUsersD() {
        return usersMapper.queryLsByUsersD();
    }
}
